package Lekcja_3.cz3_cz4;

public class Stol {
	String material,stan;
	Blat blat;
	Noga noga1,noga2,noga3,noga4;
	public Stol(String arg0, String arg1, String arg2) {
		this.material=arg0;
		this.stan="Nowy";
		blat=new Blat(arg0,arg1);
		noga1=new Noga(arg0,arg2);
		noga2=new Noga(arg0,arg2);
		noga3=new Noga(arg0,arg2);
		noga4=new Noga(arg0,arg2);
	}
	public Stol(String arg0, String arg1, String arg2,String arg3) {
		this.material=arg0;
		this.stan=arg3;
		blat=new Blat(arg0,arg1);
		noga1=new Noga(arg0,arg2);
		noga2=new Noga(arg0,arg2);
		noga3=new Noga(arg0,arg2);
		noga4=new Noga(arg0,arg2);
	}

}
